package com.house.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.house.entity.User;

public interface UserService {
    int save(User user);

    Page<User> selectPage(int page, int pageSize, String userName);

    User selectUserByUserName(String userName);
    User selectUserById(Long id);

    int update(User user);

    int delete(Long id);
}
